package com.javasm.adminapi.common;


import com.javasm.adminapi.common.exception.ExceptionEnum;
import com.javasm.adminapi.common.exception.JavasmException;

public class Parameter {

    public static void check(Object... obj) {
        for (Object o : obj) {
            if (o == null || "".equals(o)) {
                throw new JavasmException(ExceptionEnum.Parameter_Null);
            }
        }
    }

}
